package com.jspgou.cms.dao;

import com.jspgou.common.hibernate3.Updater;
import com.jspgou.common.page.Pagination;
import com.jspgou.cms.entity.ShopSupplier;

public interface ShopSupplierDao {
	public Pagination getPage(int pageNo, int pageSize);

	public ShopSupplier findById(Long id);

	public ShopSupplier save(ShopSupplier bean);

	public ShopSupplier updateByUpdater(Updater<ShopSupplier> updater);

	public ShopSupplier deleteById(Long id);
	
	public Pagination getPageByTag(String merchantid ,  int pageNo, int pageSize);
}